class CreateScores < ActiveRecord::Migration
  def self.up
    create_table :scores do |t|
      t.integer :id
      t.integer :player_id
      t.integer :board_id
      t.integer :hand_id
			t.integer :contract_tricks
			t.string  :contract_suit
      t.integer :score
      t.boolean :vuln
      t.boolean :doubled
      t.boolean :redoubled

      t.timestamps
    end
  end

  def self.down
    drop_table :scores
  end
end
